package com.meida.student.app.scholartyrant.handler;

import com.meida.common.base.entity.EntityMap;
import com.meida.common.mybatis.interceptor.GetInterceptor;
import com.meida.common.mybatis.query.CriteriaQuery;
import com.meida.module.user.client.entity.AppWorkhistory;
import org.springframework.stereotype.Component;

@Component("AppWorkhistoryDetailHandler")
public class AppWorkhistoryDetailHandler implements GetInterceptor {


    @Override
    public void prepare(CriteriaQuery cq, EntityMap entityMap) {
        cq.clear();
        cq.select(AppWorkhistory.class,"workhistoryId","positionName","companyAddress","workingDate");
    }
}
